package Linepinjie;

public class linedemo {
    public static void main(String[] args) {
        String[] arr={"AAAAA"};
        String s=arrayToString(arr);
        System.out.println(s);
    }
    public static String arrayToString(String[] arr){
        String s="";

        for(int i=0;i<arr.length;i++)
            if(i==arr.length-1){
                s+=arr[i];
            }else{
                s+=arr[i];

            }

        return s;
    }

}


